﻿namespace OneWorks.DataBase.Entity
{
    using System;
    using System.Collections.Generic;
    using System.Text;
    using OneWorks.Metadata.Interface;

    public partial class Image : IAggregateRoot
    {
        public Image()
        {   
            Icons = new List<Icon>();
        }

        public System.Guid ID { get; set; }
        public string Path { get; set; }
        public int Height { get; set; }
        public int Width { get; set; }
        public long CreateDate { get; set; }
        public bool DelFlag { get; set; }
        public string ImgType { get; set; }
 
        public System.Guid UserID { get; set; }
        public string Src { get; set; }

        public virtual ICollection<Icon> Icons { get; set; }
        public virtual User User { get; set; }
    }
}